﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="sponsoruknow.aspx.cs" Inherits="en_member_become" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>赞助"艺述英国"</title>
<link href="css/uk.css" rel="stylesheet" type="text/css" />
<link href="css/jqModal.css" rel="stylesheet" type="text/css" />
<link href="css/jScrollPane.css" rel="stylesheet" type="text/css" />
<script src="js/jquery-1.3.2.js" language="javascript" type="text/javascript"></script>
<script src="js/swfobject.js" type="text/javascript"></script>
<script src="js/jqModal.js" language="javascript" type="text/javascript"></script>
<script src="js/jScrollPane.js" language="javascript" type="text/javascript"></script>
<script type="text/javascript" src="js/jquery.mousewheel.js"></script>
<script src="js/uk.js" language="javascript" type="text/javascript"></script>
<script src="js/common.js" type="text/javascript"></script>
<script src="js/share.js" type="text/javascript"></script>
<script src="js/Search.js" type="text/javascript"></script>
<script src="js/bcwebtrends.js" type="text/javascript"></script>
<script src="js/uk.js" type="text/javascript"></script>
<script type="text/javascript">
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-27543073-4']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
</script>
<script type="text/javascript">
	$(function() {
		$("#hideUserName").val($("#tbxUserName").val());
		$("#hidePhoneNum").val($("#tbxPhone").val());
		$("#hideMail").val($("#tbxUserMail").val());
		$("#hideNature").val($("#tbxNature").val());
		$("input:text").focus(function() {
			if ($(this).val() == this.defaultValue) {
				$(this).val("");
			}
		}).blur(function() {
		});
		$('input[id$=tbxUserMail]').blur(function() {
			ValidateMail(false);
		});
		$('input[id$=tbxUserName]').blur(function() {
			ValidateUserInfo(false);
		});
		$('input[id=tbxPhone]').blur(function() {
			ValidatePhone(true);
		});
		$("#lkbSubmit").click(function() {
			ValidateInfo(true);
		});
	});

	//验证表单信息
	function ValidateInfo(flag) {
		ValidateMail(flag);
		ValidateUserInfo(flag);
		ValidatePhone(flag);
	}
	//手机号码验证
	function ValidatePhone(flag) {
		$('#errorMobile').find("span").empty().end().hide();
		var $phoneNum = $('input[id=tbxPhone]').val();
		if ($phoneNum == $("#hidePhoneNum").val()) {
			$phoneNum = "";
		}
		if (flag) {
			if (($phoneNum != "") && ($phoneNum != $("#hidePhoneNum").val())) {
				var phoneReg = /^1[3|4|5|8][0-9]\d{4,8}$/;
				
				if (!phoneReg.test($phoneNum)) {
					$('#errorMobile').show().append("<span>无效的手机号码,请重试</span>");
				}
			}
		}


	}

	//邮箱信息验证
	function ValidateMail(flag) {
		var mailFlag = false;
		$('#errorEmail').find("span").empty().end().hide();
		var $userMail = $('input[id$=tbxUserMail]').val();
		var emailReg = /^([\w-\.]+@([\w-]+\.)+[\w-]{2,4})?$/;
		if ($userMail == $("#hideMail").val()) {
			$userMail = "";
		}
		if (flag) {
			if ($.trim($userMail) == "") {
				$('#errorEmail').show().append("<span>请输入电子邮件地址</span>");
			}
			else {
				if (!emailReg.test($userMail)) {
					$('#errorEmail').show().append("<span>请输入有效的电子邮件地址</span>");
				}
				else {
					mailFlag = true;
				}
			}
		}
		else {
			if ($.trim($userMail) != "") {
				if (!emailReg.test($userMail)) {
					$('#errorEmail').show().append("<span>请输入有效的电子邮件地址</span>");
				}
				else {
					mailFlag = true;
				}
			}
		}
		if (mailFlag) {
			$('#imageEmailInfo').show().attr('src', 'images/UK_icon05.gif');
		}
		else {
			$('#imageEmailInfo').show().attr('src', 'images/UK_icon06.gif');
		}

	}

	//用户信息验证
	function ValidateUserInfo(flag) {
		var userNameflag = false;
		$('#errorUserName').find("span").empty().end().hide();
		var $userName = $('input[id$=tbxUserName]').val();
		var $userNameReg = /^\w+$/; //只能输入由数字、26个英文字母或者下划线组成的字符串
		if ($userName == $("#hideUserName").val()) {
			$userName = "";
		}
		if (flag) {
			if ($.trim($userName) == "") {
				$('#errorUserName').show().append("<span>请输入您的用户名</span>");
			}
			else {
				if ($userName.length < 4 || $userName.length > 30) {
					$('#errorUserName').show().append("<span>用户名长度为4到10位</span>");
				}
				else {
					if (!$userNameReg.test($userName)) {
						$('#errorUserName').show().append("<span>用户名由字母、数字或下划线组成,请重试</span>");
					}
					else {
						userNameflag = true;
					}
				}

			}
		}
		else {
			if ($.trim($userName) != "") {
				if ($userName.length < 4 || $userName.length > 30) {
					$('#errorUserName').show().append("<span>用户名长度为4到10位</span>");
				}
				else {
					if (!$userNameReg.test($userName)) {
						$('#errorUserName').show().append("<span>用户名由字母、数字或下划线组成,请重试</span>");
					}
					else {
						userNameflag = true;
					}
				}
			}

		}
		//            $.ajax({
		//                type: "POST",
		//                url: "become.aspx/IsUserAvailable",
		//                data: "{'username': '" + $userName + "'}",
		//                contentType: "application/json; charset=utf-8",
		//                dataType: "json",
		//                async: false,
		//                success: function(msg) {
		//                    var delay = function() {
		//                        userNameflag = AjaxSucceeded(msg);
		//                    };

		//                    setTimeout(delay, 1000);
		//                },
		//                error: Failed
		//            });
		if (userNameflag) {
			$('#imageUserNameInfo').show().attr('src', 'images/UK_icon05.gif');
		}
		else {
			$('#imageUserNameInfo').show().attr('src', 'images/UK_icon06.gif');
		}
	}

	function AjaxSucceeded(data) {

		if (eval(data.d) == "1") {
			$('dl.leave').find('dd').eq(0).append("<span style='color:red'>该用户已经存在</span>");

		}
	}

	function Failed() {
	}
   
</script>

</head>
<body>
    <form id="form1" runat="server">
    
    <div id="main">
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
  <div class="ukContent">
    <div class="ukLeft">
      <div class="uklogo"><a href="home.html"><img src="images/UK_logo.gif" alt="UK NOW" /></a></div>
      <dl class="ukNav">
        <dt class="over"><a href="home.html"><img src="images/UK_nav01.gif" alt="首页" border="0" /><img src="images/UK_nav01_1_1.gif" alt="首页" style="display:none" /></a></dt>
        <dt class="over"><a href="aboutuknow.html"><img src="images/UK_nav02.gif" alt="简介" border="0" /><img src="images/UK_nav02_1_1.gif" alt="简介" style="display:none"  /></a></dt>
        <dt class="over"><a href="eventcalendar.html"><img src="images/UK_nav04.gif" alt="活动安排" border="0" /><img src="images/UK_nav04_1_1.gif" alt="活动安排" style="display:none"  /></a></dt>
        <dt class="over"><a href="interactivespace.html"><img src="images/UK_nav05.gif" alt="发现英国元素" border="0" /><img src="images/UK_nav05_1_1.gif" alt="发现英国元素" style="display:none"  /></a></dt>
        <dt><a href="sponsors.html"><img src="images/UK_nav03_1.gif" alt="赞助商" border="0" /></a></dt>
        <dd class="over"><a href="sponsors.html"><img src="images/UK_nav03_s01.gif" alt="FOUNDER SPONSORS" border="0" /><img src="images/UK_nav03_s01_1_1.gif" alt="FOUNDER SPONSORS" style="display:none" /></a></dd>
        <dd><img src="images/UK_nav03_s02_1.gif" alt="sponsor UK Now" /></dd>
      </dl>
      <dl class="ukSearch">
        <dt>
          <input name="" type="text" id="SearchValue" value="搜索" onfocus="this.value=''"/>
        </dt>
        <dd><a href="#"><img src="images/UK_bor03.gif" alt="" border="0" id="Search"/></a></dd>
      </dl>
      <div id="leftbar_reg" class="leftbar_reg"></div>
      <div id="leftbar_discuss" class="leftbar_discuss"></div>
      <script type="text/javascript">
	    var fo = new FlashObject("swf/leftbar_reg.swf", "Flash", "155", "150" , "9", "#ffffff");
		fo.addParam("menu", "false");
		fo.addParam("scale", "noscale");
		fo.addParam("wmode", "transparent");
		fo.write("leftbar_reg");
      </script>
      <script type="text/javascript">
	    var fo = new FlashObject("swf/leftbar_discuss.swf", "Flash", "155", "150" , "9", "#ffffff");
		fo.addParam("menu", "false");
		fo.addParam("scale", "noscale");
		fo.addParam("wmode", "transparent");
		fo.write("leftbar_discuss");
      </script>
    </div>
    <div class="ukRight">
      <div class="ukTopLink">
        <p>中文 <span>|</span> <a href="../en/sponsoruknow.aspx">EN</a></p>
      	<p class="over"><span>关注我们</span> <a href="#"><img src="images/UK_icon01.gif" id="sinaWeibo_1" alt="" /><img src="images/UK_icon01_1.gif" id="sinaWeibo" alt="" style="display:none" /></a> <a href="#"><img src="images/UK_icon02.gif" alt="" id="kaixin_1" /><img src="images/UK_icon02_1.gif" alt="" id="kaixin" style="display:none"/></a> <a href="#"><img src="images/UK_icon03.gif" alt="" id="bouban_1" /><img src="images/UK_icon03_1.gif" alt="" id="bouban" style="display:none" /></a> <a href="#"><img src="images/UK_icon04.gif" alt="" id="qqWebbo_1" /><img src="images/UK_icon04_1.gif" alt="" id="qqWebbo" style="display:none" /></a> <a href="http://page.renren.com/ibc" target="_blank"><img src="images/UK_icon12.gif" alt="" name="renren" id="renren_1" /><img src="images/UK_icon12_1.gif" alt="" id="renren" style="display:none" /></a></p>
      	<dl>
          <dt><a href="register.aspx"><span>注册</span></a></dt>
          <dd><a href="login.aspx"><span>登录</span></a></dd>
        </dl>
      </div>
      <h1 class="reg"><img src="images/UK_title02.gif" alt="sponsor one of uk now's exciting events!" /></h1>
      <div class="ukDiagoe">
        <h2><img src="images/UK_sponsor_pic01.jpg"  alt="" /></h2>
        <p>现在，我们将为中国和国际企业提供机会，以特定活动赞助商的形式参与文化节活动。同时为其提供建立媒体合作伙伴关系的契机。
          品牌可见度和曝光度在中英两国将得到有效提升，这会是无以伦比的机遇。重点包括：</p>
        <p><img src="images/UK_sponsor_pic02.jpg" alt="" /></p>
      </div>
      <div class="ukBecome"> 如果您想了解更多，请直接联系我们或者按照提示信息留下您的联系方式，我们会和您取得联系。 </div>
      <div class="ukSearchResults">
        <h3><img src="images/UK_3.2becomeCN_01.gif" alt="" /></h3>
        <dl class="contact">
          <dt>电话</dt>
          <dd>86 (0) 10 65906903-206</dd>
          <dt>传真</dt>
          <dd>86 (0)10 65900977</dd>
          <dt>电子邮件</dt>
          <dd>uk.now@britishcouncil.org.cn</dd>
          <dt>地址</dt>
          <dd>中国北京东三环北路8号亮马河大厦1号楼4层，英国大使馆文化教育处 </dd>
          <dt>邮编</dt>
          <dd>100004</dd>
        </dl>
        <div class="clear"></div>
      </div>
      <div class="ukSearchResults">
        <h3><img src="images/UK_3.2becomeCN_02.gif" alt="" /></h3>
        <dl class="leave">
          <dt>姓名（人名/公司名）<span>*</span></dt>
          <dd>
             <asp:TextBox ID="tbxUserName" runat="server" Text="请输入您的姓名（人名/公司名）" MaxLength="30"></asp:TextBox>
          </dd>
           <dt class="red" style="display: none" id="errorUserName"></dt>
          <dt>电子邮件 <span>*</span></dt>
          <dd>
            
             <asp:TextBox ID="tbxUserMail" runat="server" Text="请输入你的常用邮箱"></asp:TextBox>
          </dd>
           <dt class="red" style="display: none" id="errorEmail"></dt>
          <dt>电话号码 </dt>
          <dd>
              <asp:TextBox ID="tbxPhone" runat="server" Text="请正确填写手机号"></asp:TextBox>
          </dd>
           <dt class="red" style="display: none" id="errorMobile"></dt>
          <dt>问题种类 </dt>
          <dd>
            <%--<input type="text" value="赞助、媒体、合作、其他" />--%>
             <asp:TextBox ID="tbxNature" runat="server" Text="赞助、媒体、合作、其他"></asp:TextBox>
          </dd>
          <dt class="all">带<span>*</span>号为必填 </dt>
        </dl>
        <div class="clear"></div>
        <div class="ukSubmit"> 
            <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
            <asp:LinkButton ID="lkbSubmit" runat="server" OnClick="lkbSubmit_Click"><img src="images/UK_submit.gif" alt="submit" id="submit" /></asp:LinkButton>
            </ContentTemplate>
            </asp:UpdatePanel>
</div>
      </div>
    </div>
    <div class="clear"></div>
  </div>
  <div id="footer">
     <dl>
      <dt><a href="http://www.britishcouncil.org.cn/zh/china.htm" target="_blank"><img src="images/UK_Search_56.gif" alt="" border="0" /></a></dt>
      <dd>
        <p><a href="http://www.britishcouncil.org.cn/zh/china.htm" target="_blank">英国大使馆文化教育处</a> | <a href="contactus.html">联系我们</a> | <a href="javascript:" class="jqModal">隐私政策</a> | <a href="sitemap.html">网站地图</a></p>
      </dd>
    </dl>
  </div>
</div>
 <asp:HiddenField ID="hideUserName" runat="server" />
   <asp:HiddenField ID="hidePhoneNum" runat="server" />
    <asp:HiddenField ID="hideMail" runat="server" />
      <asp:HiddenField ID="hideNature" runat="server" />
<div id="privatacy"  class="jqmWindow">
  <div id="privatacyScroll">
    <div class="privatacycopy">
      <h2>Privacy Policy</h2>
      <h3>UK NOW regards the lawful and correct treatment of personal information as important to our successful operations and to the maintenance of confidence of those with whom we deal. As such this statement will apply equally to all of our offices irrespective of where they are based.</h3>
      <p>We will ensure that our staff and those acting on our behalf obtain, use and disclose personal information lawfully and correctly. To this end we fully endorse and adhere to the principles of data protection, as set out in the UK Data Protection Act 1998 (the "Act"). We shall apply the Act globally, except where part or all of any local law is stronger.</p>
      <dl>
        <dt>In particular we will</dt>
        <dd>observe the conditions in the Act regarding the fair collection and use of personal information (please see below regarding personal information collected via our website)</dd>
        <dd>meet our legal obligations to specify the purposes for which we process personal information. This information is set out in our data protection notification particulars which can be found on the Information Commissioner’s website at www.dpr.gov.uk</dd>
        <dd>collect and process appropriate personal information, only to the extent that it is needed to fulfill our operational needs or to comply with any legal requirement</dd>
        <dd>ensure the accuracy of any personal information kept by us</dd>
        <dd>apply checks to determine the length of time personal information is held by us</dd>
        <dd>ensure that the rights of people about whom personal information is held, are able to be exercised fully under the Act</dd>
        <dd>take appropriate technical and organisational security measures to safeguard personal information</dd>
        <dd>ascertain that personal information is not transferred outside the European Economic Area without suitable safeguards or agreement from the individual</dd>
      </dl>
      <p>If we collect personal information via our website, prior to finally submitting any personal information to our website, we will endeavour to ensure that you are informed as to:</p>
      <dl>
        <dd>the purpose for collecting the information</dd>
        <dd>what the information will be used for</dd>
        <dd>the identity of anyone else to whom the information will be given and what they will use it for</dd>
        <dd>how you can request copies of any personal information we hold on you</dd>
      </dl>
      <p>Please note that where our website contains links to other websites, we are not responsible for the privacy practices of other websites and this statement applies solely to any personal information collected by our website.</p>
      <p>IP addresses are not linked to personally identifiable information. We only use IP addresses to analyze trends, administer our website, track general user movements, and gather broad demographic information for aggregate use.</p>
      <p>Furthermore please be aware that we use cookies on our website. We use cookies to track the interests of our users so that we can subsequently enhance their experience on our website. If your browser rejects a cookie, you may still use our website.</p>
      <h2>Copyright Policy</h2>
      <dl>
        <dd>The copyright for content on this website is held by UK NOW, except for material provided by other organisations, where copyright ownership is indicated.</dd>
        <dd>The views expressed on this website are not necessarily those of the British Council.</dd>
        <dd>You may link to us from your site, as long as our site appears in its normal form, for example, it does not appear inside your own frameset or with any advertising.</dd>
        <dd>UK NOW is not responsible for the content of external links.</dd>
      </dl>
    </div>
  </div>
  <div class="clear"></div>
  <div class="privatacyClose"><a href="javascript:" class="jqmClose"><img src="images/UK_R1.0_Register_27.gif" alt="Close" /></a></div>
  <div class="clear"></div>
</div>
    </form>
    <!-- START OF SmartSource Data Collector TAG -->
    <!-- Copyright (c) 1996-2009 WebTrends Inc.  All rights reserved. -->
    <!-- Version: 8.6.2 -->
    <!-- Tag Builder Version: 3.0  -->
    <!-- ----------------------------------------------------------------------------------- -->
    <!-- Warning: The two script blocks below must remain inline. Moving them to an external -->
    <!-- JavaScript include file can cause serious problems with cross-domain tracking.      -->
    <!-- ----------------------------------------------------------------------------------- -->

    <script type="text/javascript">
        //<![CDATA[
        var _tag = new WebTrends();
        _tag.fpcdom = ".uknow.org.cn";
        _tag.dcsGetId();
        //]]>>
    </script>

    <script type="text/javascript">
        //<![CDATA[
        // Add custom parameters here.
        //_tag.DCSext.param_name=param_value;
        _tag.WT.sp = "China_uknow_sponsorUKNow";
        _tag.dcsCollect();
        //]]>>
    </script>

    <noscript>
        <div>
            <img alt="DCSIMG" id="DCSIMG" width="1" height="1" src="http://statse.webtrendslive.com/dcsozkqgb00000sh0y1unaabw_9e3r/njs.gif?dcsuri=/nojavascript&amp;WT.js=No&amp;WT.tv=8.6.2" /></div>
    </noscript>
    <!-- END OF SmartSource Data Collector TAG -->
</body>
</html>
